package io.github.biezhi.elves.service;

import java.util.List;

import io.github.biezhi.elves.yjggzy.model.YjBiddingList;
import io.github.biezhi.elves.yjggzy.model.YjDownloadBiddingHtml;
import io.github.biezhi.elves.yjggzy.model.YjRecordBiddingNotice;

public interface YjggzyService {

	/**
	 * 保存佛山记录各个网址网址数据
	 * @param yjRecordBiddingNotice
	 */
	void saveYjRecordBiddingNotice(YjRecordBiddingNotice yjRecordBiddingNotice);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 * @return
	 */
	Integer countByUrl(String noticeDetailUrl);

	/**
	 * 根据公告类型和发布日期查询记录表
	 * @param noticeType
	 * @param pubdate
	 * @return
	 */
	List<YjRecordBiddingNotice> findRecordByNoticeTypeAndDate(String noticeType, String date);

	/**
	 * 保存YjDownloadBiddingHtml对象到t_download_yj表中
	 * @param yjDownloadBiddingHtml
	 */
	void saveYjDownloadBiddingHtml(YjDownloadBiddingHtml yjDownloadBiddingHtml);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 */
	Integer countByDownloadUrl(String noticeDetailUrl);

	/**
	 * 查询t_download_yj表所有数据
	 * @return
	 */
	List<YjDownloadBiddingHtml> listDownloadHtml();

	/**
	 * 新增yjbiddingList对象
	 * @param yjbiddingList
	 */
	void saveYjBiddingList(YjBiddingList yjBiddingList);

	/**
	 * 根据TabType查询YjDownloadBiddingHtml
	 * @return
	 */
	List<YjDownloadBiddingHtml> listDownloadHtmlByTabType(String tabType);

}
